package com.yang.demo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页公共返回对象
 */
@ApiModel(value = "分页返回对象",description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RespPageBean {

    @ApiModelProperty("总条数")
    private Long total;

    @ApiModelProperty("数据list")
    private List<?> data;
}
